// test.ts

import { MockMethod } from 'vite-plugin-mock'
export default [
  {
    url: '/ocenter/App/RefundInfo/index',
    method: 'post',
    response: ({ query }) => {
      return {
        result: {
          status: 1,
          data: {
            orderNum: '230222164221100734550603',
            productInfo: [
              {
                productTag: '',
                productType: 100,
                subjectName: '\u8bed\u6587',
                productName:
                  '\u521d\u4e00\u8bed\u6587\u57f9\u8bad\u73ed\uff08\u6625\u4e0a\u00b7\u5168\u56fd\u7248\u00b7A+\uff09',
                showName:
                  '2\u670815\u65e5-3\u670822\u65e5\u00b7\u6bcf\u5468\u4e0919:00-20:50\u4e0a\u8bfe\u00b724\u8bfe\u65f6',
                stuProductId: 193922382,
                gongbenfei: '0',
                returnPrice: 0,
                desc: '',
                goodsDetail: [],
                teacherInfos: [
                  {
                    teacherName: '\u9646\u6770\u5cf0',
                    teacherIcon:
                      'https://static7.saasz.vdyoo.com/teacher/trm/1645060914627_1638934740913.png',
                    teacherType: 1,
                  },
                ],
                foreignInfos: [],
                chapterInfo: {
                  learnCnt: '0',
                  totalCnt: '12',
                  chapterTotalPrice: '0',
                  chapterDetail: [],
                  deductedPrepaidCardPrice: '0',
                },
                priceDetail: {
                  productPrice: '528.00',
                  realPrice: '0',
                  promotionInfos: [
                    { promotionName: '\u793c\u54c1\u5361\u62b5\u6263', promotionPrice: '528.00' },
                  ],
                  prepaidCardPrice: '528.00',
                },
                canRefund: 1,
                iap: 0,
                returnPrepaidCardPrice: '528.00',
              },
            ],
            productType: 100,
            stuProductId: 'MTkzOTIyMzgyLTIxMDAwNjA2MDM=',
            totalRefund: '528',
            opInfo: { canOp: 1, opDesc: '\u63d0\u4ea4' },
            warning: [
              '1. \u4f7f\u7528\u5956\u5b66\u91d1\u8d2d\u4e70\u7684\u8bfe\u7a0b\uff0c\u9000\u8bfe\u65f6\u4f1a\u5c06\u5269\u4f59\u8bfe\u7a0b\u7684\u4f18\u60e0\u6263\u51cf\uff0c\u591a\u6263\u91d1\u989d\u4f1a\u5728\u5269\u4f59\u8bfe\u7a0b\u4e0a\u8865\u9f50\uff0c\u9000\u8bfe\u540e\u5956\u5b66\u91d1\u4f1a\u8fd4\u8fd8\u81f3\u8d26\u6237\u4e2d',
              '2. \u53c2\u4e0e\u540c\u4e00\u591a\u79d1\u4fc3\u9500\u7684\u8bfe\u7a0b\uff0c\u9000\u5355\u4e2a\u6216\u90e8\u5206\u8bfe\u7a0b\u65f6\u6309\u9000\u8bfe\u540e\u4fc3\u9500\u89c4\u5219\u91cd\u65b0\u8ba1\u7b97\u4f18\u60e0\uff0c\u7cfb\u7edf\u4f1a\u6263\u51cf\u76f8\u5e94\u7684\u591a\u79d1\u4f18\u60e0\uff0c\u9000\u8bfe\u540e\u5176\u4ed6\u8bfe\u7a0b\u7684\u5b9e\u4ed8\u6b3e\u5c06\u8fdb\u884c\u5bf9\u5e94\u8c03\u6574',
              '3. \u82e5\u8bfe\u7a0b\u53c2\u52a0\u6ee1\u51cf/\u6362\u8d2d/\u5957\u88c5\u7ec4\u5408\u7b49\u4fc3\u9500\u4f18\u60e0\u65f6\uff0c\u53c2\u4e0e\u6d3b\u52a8\u6240\u6d89\u53ca\u7684\u8bfe\u7a0b\u9700\u4e00\u8d77\u9000\u8bfe',
              '4. \u7533\u8bf7\u9000\u8bfe\u540e\uff0c\u73ed\u4e3b\u4efb\u4f1a\u572824\u5c0f\u65f6\u5185\u5904\u7406\u9000\u8bfe\u7533\u8bf7',
              '5. \u82e5\u8bfe\u7a0b\u4ed8\u6b3e\u65f6\u4f7f\u7528\u793c\u54c1\u5361\u652f\u4ed8\uff0c\u9000\u8bfe\u540e\u793c\u54c1\u5361\u91d1\u989d\u4f1a\u6263\u51cf\u8bfe\u65f6\u8d39\u540e\u539f\u8def\u8fd4\u8fd8\u81f3\u8d26\u6237\u4e2d',
            ],
            agreement: [
              {
                agreementTitle: '\u9000\u8bfe\u89c4\u5219',
                agreementInfo: [
                  '1.\u9000\u6b3e\u91d1\u989d\u8ba1\u7b97',
                  '1.1\u6bcf\u8bb2\u91d1\u989d=\u652f\u4ed8\u91d1\u989d/\u8bfe\u7a0b\u603b\u8bfe\u65f6\u6570*\u5bf9\u5e94\u8bb2\u6b21\u8bfe\u65f6\u6570',
                  '1.2\u76f4\u64ad\u5f00\u59cb\uff1b\u8bb2\u6b21\u89e3\u9501\uff1b\u6559\u8f85\u5df2\u7b7e\u6536\uff0c\u63d2\u73ed\u9000\u8bfe\u65f6\u4f1a\u6263\u9664\u76f8\u5e94\u8d39\u7528\u3002',
                  '\u5907\u6ce8\uff1a\u5f00\u8bfe\u540e\u62a5\u540d\u65e0\u514d\u8d39\u8bd5\u542c\uff0c\u89c2\u770b\u6216\u8d2d\u8bfe7\u65e5\u540e\u9000\u8d39\u5386\u53f2\u7ed3\u675f\u8bb2\u5747\u4f1a\u6263\u9664\u8d39\u7528',
                  '2.\u4f7f\u7528\u5956\u5b66\u91d1\u8d2d\u8bfe',
                  '\u82e5\u4e00\u5f20\u5956\u5b66\u91d1\u88ab\u591a\u4e2a\u8bfe\u7a0b\u4f7f\u7528\uff0c\u9000\u5355\u4e2a\u6216\u90e8\u5206\u8bfe\u7a0b\u65f6\u4f1a\u5c06\u5269\u4f59\u8bfe\u7a0b\u6240\u4eab\u53d7\u7684\u4f18\u60e0\u91d1\u989d\u51cf\u6263\uff0c\u9000\u8bfe\u540e\u5269\u4f59\u5176\u4ed6\u672a\u9000\u8d39\u8bfe\u7a0b\u7684\u5b9e\u4ed8\u6b3e\u5c06\u8fdb\u884c\u5bf9\u5e94\u8c03\u6574\u3002',
                  '3.\u53c2\u4e0e\u6269\u79d1\u6d3b\u52a8',
                  '\u5982\u53c2\u4e0e\u591a\u79d1\u4f18\u60e0\u6d3b\u52a8\uff0c\u9000\u5355\u4e2a\u6216\u90e8\u5206\u8bfe\u7a0b\u540e\u4f1a\u91cd\u65b0\u8ba1\u7b97\u4f18\u60e0\uff0c\u7cfb\u7edf\u4f1a\u6263\u51cf\u76f8\u5e94\u7684\u4f18\u60e0\u7684\u591a\u79d1\u4f18\u60e0\uff0c\u9000\u8bfe\u540e\u5269\u4f59\u5176\u4ed6\u672a\u9000\u8d39\u8bfe\u7a0b\u7684\u5b9e\u4ed8\u6b3e\u5c06\u8fdb\u884c\u5bf9\u5e94\u8c03\u6574\u3002',
                  '4.\u53c2\u4e0e\u7cfb\u7edf\u76f4\u63a5\u51cf\u514d\u6d3b\u52a8',
                  '\u82e5\u67d0\u4e2a\u8ba2\u5355\u4e0b\u7684\u8bfe\u7a0b\uff0c\u8d2d\u8bfe\u65f6\u53c2\u4e0e\u4e86\u7cfb\u7edf\u8bbe\u7f6e\u4f18\u60e0\u6d3b\u52a8\u65f6\uff0c\u9000\u5355\u4e2a\u8bfe\u7a0b\u65f6\u4f1a\u5c06\u53c2\u4e0e\u6d3b\u52a8\u6240\u6d89\u53ca\u7684\u8bfe\u7a0b\u4e00\u8d77\u9000\u6389\u3002',
                  '5.\u53c2\u4e0e\u56e2\u8d2d\u6d3b\u52a8',
                  '\u62fc\u56e2\u6210\u529f\u540e\u5982\u9700\u9000\u8bfe\uff0c\u9700\u901a\u8fc7app-\u6211\u7684-\u5ba2\u670d\u670d\u52a1-\u8054\u7cfb\u5ba2\u670d\u5904\u8fdb\u884c\u7533\u8bf7\u3002',
                  '\u62fc\u56e2\u5931\u8d25\u540e\u9000\u6b3e\u4f1a\u4ee5\u539f\u8def\u8fd4\u56de\u5f62\u5f0f\u9000\u6b3e\u3002',
                  '\u53c2\u4e0e\u62fc\u56e2\u540e\u65e0\u6cd5\u4e2d\u9014\u53d6\u6d88\uff0c\u9700\u7b49\u5f85\u62fc\u56e2\u5931\u8d25\u540e\u518d\u6b21\u53c2\u4e0e\u62fc\u56e2\u3002',
                  '6.\u53c2\u4e0e\u6362\u8d2d\u6d3b\u52a8',
                  '\u53c2\u4e0e\u6362\u8d2d\u6d3b\u52a8\u6240\u8d2d\u4e70\u7684\u8bfe\u7a0b\uff0c\u5728\u4e0d\u9000\u4e3b\u8bfe\u7684\u60c5\u51b5\u4e0b\uff0c\u53ef\u5355\u72ec\u8fdb\u884c\u9000\u8bfe\u64cd\u4f5c',
                  '\u53c2\u4e0e\u6362\u8d2d\u6d3b\u52a8\u6240\u8d2d\u4e70\u7684\u8bfe\u7a0b\uff0c\u9000\u4e3b\u8bfe\u65f6\u88ab\u6362\u8d2d\u8bfe\u7a0b\u5c06\u88ab\u4e00\u5e76\u505a\u9000\u8bfe\u5904\u7406',
                  '7.\u793c\u54c1\u5361\u5f62\u5f0f\u652f\u4ed8',
                  '\u82e5\u8bfe\u7a0b\u4ed8\u6b3e\u662f\u4f7f\u7528\u793c\u54c1\u5361\u652f\u4ed8\uff0c\u9000\u8bfe\u540e\u4f1a\u6309\u7167\u9000\u8bfe\u89c4\u5219\u8ba1\u7b97\u6263\u51cf\u8d39\u7528\uff0c\u4f1a\u5c06\u5269\u4f59\u8d39\u7528\u539f\u8def\u8fd4\u56de\u81f3\u793c\u54c1\u5361',
                ],
              },
              {
                agreementTitle: '\u6743\u76ca\u76f8\u5173',
                agreementInfo: [
                  '1.\u9000\u8bfe\u6210\u529f\u540e\u65e0\u6cd5\u67e5\u770b\u5b66\u4e60\u8d44\u6599\u548c\u5b66\u4e60\u4efb\u52a1\u7684\u5b8c\u6210\u8bb0\u5f55\uff1b',
                  '2.\u5982\u8d2d\u8bfe\u65f6\u83b7\u5f97\u4e86\u865a\u62df\u5546\u54c1\uff08\u542b\u8bfe\u7a0b\u3001\u5956\u5b66\u91d1\u3001\u793c\u54c1\u5361\u3001\u91d1\u5e01\u7b49\uff09\uff0c\u9000\u8bfe\u65f6\u5c06\u540c\u6b65\u6536\u56de\uff1b',
                  '3.\u82e5\u5f00\u8bfe\u524d\u9000\u8bfe\u4e14\u5956\u5b66\u91d1\u4ecd\u5728\u6709\u6548\u671f\uff0c\u6240\u7528\u5956\u5b66\u91d1\u4f1a\u8fd4\u8fd8\u81f3\u8d26\u6237\u4e2d\uff0c\u8bf7\u6ce8\u610f\u67e5\u6536\uff1b',
                ],
              },
              {
                agreementTitle: '\u9000\u6b3e\u65b9\u5f0f',
                agreementInfo: [
                  '\u5728\u7ebf\u652f\u4ed8\u8ba2\u5355\u2264365\u5929\uff0c\u9000\u6b3e\u4f1a\u4ee5\u539f\u8def\u8fd4\u56de\u5f62\u5f0f\u9000\u6b3e\uff0c\u9000\u8bfe\u8d39\u7528\u572820\u4e2a\u5de5\u4f5c\u65e5\u5185\u539f\u8def\u8fd4\u8fd8\u3002\uff08\u90e8\u5206\u8ba2\u5355\u5982\u6709\u5f02\u5e38\u5c06\u4e0d\u53ef\u4f7f\u7528\u539f\u8def\u8fd4\u56de\u529f\u80fd\uff0c\u9700\u8bf7\u8054\u7cfb\u5ba2\u670d\u767b\u8bb0\u652f\u4ed8\u5b9d\u8d26\u53f7\u529e\u7406\u9000\u8d39\uff09\u3002',
                ],
              },
            ],
            returnReason: [
              {
                reasonTitle: '\u65f6\u95f4\u56e0\u7d20',
                reasonInfo: [
                  { reasonId: 31, reasonDesc: '\u4e0e\u5b66\u6821\u65f6\u95f4\u51b2\u7a81' },
                  { reasonId: 32, reasonDesc: '\u62a5\u4e86\u5176\u4ed6\u8f85\u5bfc\u73ed' },
                  {
                    reasonId: 33,
                    reasonDesc: '\u5bf9\u4e0a\u8bfe\u65f6\u95f4\u5b89\u6392\u4e0d\u6ee1\u610f',
                  },
                ],
              },
              {
                reasonTitle: '\u8bfe\u7a0b\u76f8\u5173',
                reasonInfo: [
                  { reasonId: 41, reasonDesc: '\u8bfe\u7a0b\u96be\u5ea6\u4e0d\u5408\u9002' },
                  { reasonId: 42, reasonDesc: '\u8bfe\u7a0b\u5185\u5bb9\u4e0d\u6ee1\u610f' },
                  { reasonId: 43, reasonDesc: '\u5b66\u4e60\u6548\u679c\u4e0d\u660e\u663e' },
                ],
              },
              {
                reasonTitle: '\u5176\u4ed6\u56e0\u7d20',
                reasonInfo: [
                  { reasonId: 51, reasonDesc: '\u66f4\u6362\u4e3b\u8bb2\u8001\u5e08' },
                  { reasonId: 52, reasonDesc: '\u66f4\u6362\u73ed\u4e3b\u4efb\u8001\u5e08' },
                  { reasonId: 53, reasonDesc: '\u5bf9\u4fc3\u9500\u4f18\u60e0\u4e0d\u6ee1\u610f' },
                  {
                    reasonId: 54,
                    reasonDesc:
                      '\u91cd\u65b0\u8d2d\u4e70(\u591a\u79d1\u4f18\u60e0\u7684\u8bfe\u7a0b\u652f\u6301\u5206\u5f00\u4e0b\u5355)',
                  },
                ],
              },
            ],
          },
        },
      }
    },
  },
  {
    url: '/ocenter/App/SubmitRefund/index',
    method: 'post',
    timeout: 2000,
    response: ({ query }) => {
      //X-Businessline-Id=30&appVersion=9.21.07&appVersionNumber=92107&datalogId=11962023238251104659&device=7&deviceModel=iPhone&enstuId=ZWNkYmGaYm5maw%3D%3D%2Ac2q3/d0f7f5dbf8c61ae57ab44c5b4629b4ec&identifierForClient=5B600D4B53E6BF4530BF049B9BF33EA2&logId=&productType=100&refundStuCouId=193922382&requesttime=1677058848945&returnReasonId=31&stuProductIds=193922382&suggestion=&systemName=iOS
      return {
        result: {
          status: 1,
          data: {
            status: 1,
            tips: '0',
            totalPrice: '0',
            type: 2,
            coinType: 1,
            payTypes: [],
            productMsg: '\u9884\u8ba124\u5c0f\u65f6\u5185\u5b8c\u6210\u9000\u8bfe\u5ba1\u6838',
            adsInfo: { img_url: '', url: '', scheme: '' },
          },
        },
      }
    },
  },
  {
    url: '/mall/refund/success',
    method: 'post',
    timeout: 2000,
    response: ({ query }) => {
      //X-Businessline-Id=30&appVersion=9.21.07&appVersionNumber=92107&datalogId=1289491996365430703&device=7&deviceModel=iPhone&enstuId=ZWNkYmGaYm5maw%3D%3D%2Ac2q3/d0f7f5dbf8c61ae57ab44c5b4629b4ec&identifierForClient=5B600D4B53E6BF4530BF049B9BF33EA2&logId=&orderNum=230222164221100734550603&requesttime=1677058851219&stuCouIds=193922382&systemName=iOS
      return {
        stat: 1,
        data: {
          status: {
            title: '退课审核中，请耐心等待',
            subtitle: '预计2月23日 17:40前完成审核',
            type: 2,
          },
          list: [{ name: '应退礼品卡¥528.00', sub: [] }],
          ad: {
            img: '',
            url: '',
            log_msg: { clickBusinessInfo: { extra: {} }, showBusinessInfo: { extra: {} } },
          },
        },
        code: 0,
        msg: '',
      }
    },
  },
] as MockMethod[]
